package com.itheima.chapter02.object;

public class Student {
    private int age;
    private String name;
    public void setName(String n){
        name=n;
    }
    public void setAge(int a){
        age=a;
    }
    public String  getName(){
        return name;
    }
    public int getAge(){
        return age;
    }
    public void show(){
        System.out.println(name+"..."+age);
    }
}
